<template>
  <view class="register-container">
    <view class="title">注册</view>
    <view class="form-item">
      <input type="text" placeholder="请输入用户名" />
    </view>
    <view class="form-item">
      <input type="password" placeholder="请输入密码" />
    </view>
    <view class="form-item">
      <input type="password" placeholder="请确认密码" />
    </view>
    <button class="register-btn">注册</button>
    <view class="login-link">
      已有账号？
      <text class="link-text">去登录</text>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {}
};
</script>

<style scoped>
.register-container {
  width: 80%;
  margin: 50px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.form-item {
  margin-bottom: 15px;
}
.form-item input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.register-btn {
  width: 100%;
  background-color: #007aff;
  color: #fff;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
}
.login-link {
  text-align: center;
  font-size: 14px;
}
.link-text {
  color: #007aff;
}
</style>